<?php
	@session_start();
	include("../../connect/connect_mysql.php");
	
	$act= $_POST["act"];
 	switch($act){
 		case 'logo_home':
 			$id= 1;	
 		break;
		case 'logo_menu':
 			$id = 2;
		break;
		case 'logo_collection':
			$id=3;
 		break;
 		case 'logo_promotion':
			$id=4;
 		break;
 		case 'logo_contact':
			$id=6;
 		break;
		case 'logo_banner':
			$id=7;
		break;
		case 'logo_header':
			$id=8;
		break;
 	}

 	$query = "SELECT * FROM logo WHERE page_id = '$id' and is_deleted = '0'";
 	  	mysql_query ("SET NAMES 'utf8'");
 	$result = mysql_query($query) or die(mysql_error());
	$arr_table_result= mysql_fetch_full_result_array($result);
	//$st= abc($result);
	//echo $st;
	echo ($arr_table_result);
	//$js= (json_encode($arr_table_result));
	//echo $js;
?>
	